﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.LED
{
    public class FinanceRecordBase
    {
        private string financerecordid = "00000000-0000-0000-0000-000000000000";
        private string category = "";
        private string subcategory = "";
        private string categorycode = "";
        private string subcategorycode = "";
        private string handledby = "";
        private int typecode = 0;
        private DateTime eventdate;
        private decimal amount = 0;
        private string involveobject;
        private string involveobjectid = "00000000-0000-0000-0000-000000000000";
        private string remark = "";
        private int statuscode = 0;
        private DateTime createdon;
        private string createdby = "00000000-0000-0000-0000-000000000000";
        private DateTime modifyon;
        private string modifyby = "00000000-0000-0000-0000-000000000000";

        public FinanceRecordBase()
        { }

        /// <summary>
        /// 
        /// </summary>
        public string FinanceRecordId
        {
            set { financerecordid = value; }
            get { return financerecordid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Category
        {
            set { category = value; }
            get { return category; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Subcategory
        {
            set { subcategory = value; }
            get { return subcategory; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CategoryCode
        {
            set { categorycode = value; }
            get { return categorycode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SubcategoryCode
        {
            set { subcategorycode = value; }
            get { return subcategorycode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string HandledBy
        {
            set { handledby = value; }
            get { return handledby; }
        }
        /// <summary>
        /// 1 成本，2 费用
        /// </summary>
        public int TypeCode
        {
            set { typecode = value; }
            get { return typecode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EventDate
        {
            set { eventdate = value; }
            get { return eventdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Amount
        {
            set { amount = value; }
            get { return amount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string InvolveObject
        {
            set { involveobject = value; }
            get { return involveobject; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string InvolveObjectId
        {
            set { involveobjectid = value; }
            get { return involveobjectid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark
        {
            set { remark = value; }
            get { return remark; }
        }
        /// <summary>
        /// 0 未入账， 1 已入账
        /// </summary>
        public int StatusCode
        {
            set { statuscode = value; }
            get { return statuscode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreatedOn
        {
            set { createdon = value; }
            get { return createdon; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatedBy
        {
            set { createdby = value; }
            get { return createdby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime ModifyOn
        {
            set { modifyon = value; }
            get { return modifyon; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ModifyBy
        {
            set { modifyby = value; }
            get { return modifyby; }
        } 
    }
}
